package com.fzkj.thread.demo12;

public class DownLoad implements Runnable {

    private String thradName;

    public DownLoad(String thradName) {
        this.thradName = thradName;
    }
    @Override
    public void run() {
        for (int i = 1; i <= 100; i++) {
            System.out.println(thradName+":下载："+i+"%");
        }
    }
}
